package com.wish.building.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-04-06
 */
@Data
@TableName("s_provinces")
public class SProvinces implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String cityName;

    private Integer parentId;

    private String shortName;

    private Integer depth;

    private String cityCode;

    private String zipCode;

    private String mergerName;

    private String longitude;

    private String latitude;

    private String pinyin;

    private Integer isUse;

    @TableField(exist = false)
    private String lookname;

    @TableField(exist = false)
    private String provice;

    @TableField(exist = false)
    private String city;

    @TableField(exist = false)
    private String county;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }
    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }
    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }
    public String getMergerName() {
        return mergerName;
    }

    public void setMergerName(String mergerName) {
        this.mergerName = mergerName;
    }
    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }
    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }
    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }
    public Integer getIsUse() {
        return isUse;
    }

    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }

    @Override
    public String toString() {
        return "SProvinces{" +
            "id=" + id +
            ", cityName=" + cityName +
            ", parentId=" + parentId +
            ", shortName=" + shortName +
            ", depth=" + depth +
            ", cityCode=" + cityCode +
            ", zipCode=" + zipCode +
            ", mergerName=" + mergerName +
            ", longitude=" + longitude +
            ", latitude=" + latitude +
            ", pinyin=" + pinyin +
            ", isUse=" + isUse +
        "}";
    }
}
